A instanceof B // 判断A是否经过B的原型链

function instance_of(child, father) { 
    const fp = father.prototype
    const cp = child.__ptoto__

while(cp) {
    if (cp === fp) {
        return true
    }
    cp = cp.__ptoto__
}
return false
}

